<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Springboot学习</title>
</head>
<body>
<h1>你好 数加！<span th:text="${name}"/></h1>
<ul th:each="dept:${deptss}">
    <!--      <li th:text="${dept.deptno}"></li>-->
    <span th:text="${dept.deptno}"/>&nbsp<span th:text="${dept.dname}"/>&nbsp<span th:text="${dept.loc}"/>
    <!--      <li th:text="${dept.dname}"></li>-->
    <!--      <li th:text="${dept.loc}"></li>-->
</ul>


</body>
</html>